package com.atguigu.book.service.impl;

import com.atguigu.book.dao.UserDAO;
import com.atguigu.book.pojo.User;
import com.atguigu.book.service.UserService;

/**
 * @ClassName: UserServiceImpl
 * @Description:
 * @Author: wty
 * @Date: 2022/12/12
 */

public class UserServiceImpl implements UserService {
    private UserDAO userDAO;

    /**
     * @param
     * @return com.atguigu.book.pojo.User
     * @description //用户注册
     * @param: uname
     * @param: pwd
     * @date 2022/12/12 19:52
     * @author wty
     **/
    @Override
    public User login(String uname, String pwd) {
        return userDAO.getUser(uname, pwd);
    }
}
